package entity

import (
	"time"

	"shqsoft.cn/pasnj/base"
)

//CompClieKhgl 对公客户综合目标设置
type CompClieZhsyMbsd struct {
	ID    int       `gorm:"AUTO_INCREMENT;primary_key;column:ID"`
	CUID  int       `gorm:"column:CUID"`
	SDATE time.Time `gorm:"column:SDATE;type:date;"`
	EDATE time.Time `gorm:"column:EDATE;type:date;"`
	CKSD  float64   `gorm:"column:CKSD;"`
	CKRJ  float64   `gorm:"column:CKRJ;"`
	MNLR  float64   `gorm:"column:MNLR;"`
	ZSSR  float64   `gorm:"column:ZSSR;"`
}

//TableName 表名
func (CompClieZhsyMbsd) TableName() string {
	return "T_COMP_CLIE_ZHSY_MBSD"
}

func CompClieZhsyMbsdEF() base.EntityFunc {
	return func() interface{} {
		entity := CompClieZhsyMbsd{}
		return &entity
	}
}
func CompClieZhsyMbsdESF() base.EntitiesFunc {
	return func() interface{} {
		var entities []CompClieZhsyMbsd
		return &entities
	}
}
func init() {
	base.DaoPoolObj.Put("CompClieZhsyMbsd", base.NewDefaultDao(CompClieZhsyMbsdEF(), CompClieZhsyMbsdESF(), nil))
}
